<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{title}}</title>
</head>
<body>
    {% if username %}
    <h1>我的名字是{{username}}</h1>
    {% else %}
    <h1>我的名字是霸霸</h1>
    {% endif %}
    {% for post in posts %}
    <p>{{post}} say good</p>
    {% endfor %}
    {% block content %}{% endblock %}
</body>
</html>